home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 23.zip
/
BS1 part 23
/
Superbase 4 ser 12C00584^1.adf
/
Trading
/
STKRRE.SBP
< prev
next >
Wrap
Text File
|
1991-03-13
|
3KB
|
93 lines
SBP
ÿ½ STKRRE
ÿ½ Stock Trading Balance report
ÿ½ Last updated Jan 21, 90
ÿ³ÿ_ÿwrerror
ÿ¡sktr%ÿ1ÿwm0:ÿ½ If not first time then no need to open + dim
ÿ×skt%(40),skt$(40)
m0:
sktr%ÿ1
hd1$ÿ"Stock Trading Balances at "ÿÿ(ÿQ,"mmm dd,yy")
hd12$ÿ"Ref: STKRRE"
hd2$ÿ"Stock Key Company Stock Type"
hd3$ÿ"Date b/s Ref Quantity Curr units Price US$ Value Commission Total Due"
hd4$ÿ"--------- --- ------ -------- ---------- --------- --------- ---------- -----------"
m1:
ÿÁUSD Value.TRANS,Comm_Value.TRANS,Total_Due.TRANS
ÿ}ÿÁ
ÿ{@52;" ========= ========== ==========="
ÿ{@1;"Totals for Stock Trading Balance Report";@54;&6.2ÿlUSD Value.TRANS;@67;&11ÿlComm_Value.TRANS;@79;&6.2ÿlTotal_Due.TRANS
ÿ{@52;" ========= ========== ==========="
tkt%ÿÿlComm_Value.TRANS:hd2$ÿ"":hd3$ÿ"":hd4$ÿ""
ÿ:ÿ{
ÿ{@1;"Commissions by Stock";@33;"Commission % of total"
ÿ{@33;"---------- ----------"
ÿi%ÿ1ÿqsktr%ÿ1
ÿ{skt$(i%);@32;&11skt%(i%);@47;ÿ(skt%(i%)ÿ100ÿtkt%,"999.00%")
ÿ±i%
ÿ{@33;"========== =========="
ÿ{@32;&11tkt%;@47;ÿ(100,"999.00%")
ÿ{@33;"========== =========="
ÿÿÁ
ÿ
ÿ{@1;hd1$;@65;hd12$
ÿ{
ÿ{@1;hd2$
ÿ{@1;hd3$
ÿ{@1;hd4$
ÿÿ
ÿStock_Key.TRANS,USD Value.TRANS,Comm_Value.TRANS,Total_Due.TRANS
ÿÿStock_Key.TRANS
ÿ{
ÿ{@1;&24Stock_Key.TRANS;@26;&36Company Name.STOCKS;@63;&16Stock_Type.STOCKS
ÿÿ
ÿ}ÿStock_Key.TRANS
ÿ{@52;" --------- ---------- -----------"
ÿ{@1;"Totals for ";@13;&15ÿ;@55;&12ÿlUSD Value.TRANS;&11ÿlComm_Value.TRANS;@80;&12ÿlTotal_Due.TRANS
ÿ{@52;" --------- ---------- -----------"
skt%(sktr%)ÿÿlcomm_value.TRANS:skt$(sktr%)ÿÿ
sktr%ÿsktr%ÿ1
ÿÿ
ÿÉ@1;&10Trans_Date.TRANS;@12;&1Trans_Type.TRANS;@14;&7Transaction ref.TRANS;@22;&9Quantity.TRANS;
@32;&8Units.CURRENCY;@41;&12Stock_Price.TRANS;@54;&10USD Value.TRANS;@65;&11Comm_Value.TRANS;@78;&11Total_Due.TRANS
ÿÐStock_Key.TRANSÿStock_Key.STOCKSÿCurrency.CURRENCYÿCurrency.TRANS
ÿµStock_Key.TRANS,Transaction ref.TRANS
m2:
ÿ¡p$ÿ"d"ÿp
ÿÊÿËss14$
ÿÏÿ¥ÿÿß
ÿÿ¡
repeat:
ÿÂms3$,"",135,a%
ÿ¡a%ÿ0ÿpÿwrexit
ÿ¡p$ÿ"p"ÿpÿ¹;
ÿwm1
rexit:
ÿ"menu"
rerror:ÿ½ On error
res%ÿ0
ÿ¡ÿ&ÿ11ÿp
ÿÂms21$,ms22$,130,a%:ÿ¡a%ÿ1ÿpres%ÿ1
ÿ^ÿ¡ÿ&ÿ27ÿp
ÿÂms11$,ms12$,100,a%:res%ÿ2
ÿ^
ÿÂÿ((ÿ&),"",113,a%:res%ÿ1
ÿÿ¡
ÿ¡res%ÿ1ÿpÿyrepeat
ÿ¡res%ÿ2ÿpÿyrexit
ÿwrexit